<ion-view view-title="兑换记录" class="exchangerecord">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	
	<ion-content class="bg">
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
		
		<div class="text-center tips" ng-if="firstHide&&!datas.data">
			<p>还没有兑换记录哦！</p>
		</div>
		
		<div class="border_bottom" ng-repeat="data in datas.data" on-tap="onshow_detail(data.gift_items[0].goods_id)">
			<div class="item noborder orderbar">
				<p class="ordernum">订单号：{{data.order_id}}</p>
				<p class="orderstate">{{data.exchange_status}}</p>
			</div>
			<div class="item noborder orderbar">
				<img class="goodsimg" src="{{data.gift_items[0].thumbnail_pic||noImg}}" />
				<div>
					<p class="goodsname">{{data.gift_items[0].name}}</p>
					<div>
						<p class="goodsdate">{{data.pay_time}}</p>
						<p class="goodspoint">-{{data.score_u}}</p>
					</div>
				</div>
			</div>
		</div>
		
		<ion-infinite-scroll ng-if="!isLoad&&nPage<datas.page.tPage" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-content>
</ion-view>